<template>
    <div>
        111
        <slot></slot>
        222
        <slot name="slot1" :data="message"></slot>
        333
    </div>
</template>
<script>
export default {
    name: 'testslot',
    data() {
        return {
            message: "卡槽传值"
        }
    }
}
</script>